package net.tv90.auth.model.dto;

import jakarta.validation.constraints.Email;
import jakarta.validation.constraints.NotEmpty;
import lombok.Data;

@Data
public class UserLoginByEmailDTO {

    @NotEmpty(message = "邮箱不能为空")
    @Email(message = "邮箱格式不正确")
    String email;

    @NotEmpty(message = "密码不能为空")
    String password;
}
